import request from '../utils/request';

/*首页-项目介绍*/
export function getProject(query) {
  return request({
    url: '/api/project_index',
    method: 'get',
    params: query
  })
}



/*首页-公示专区*/
export function getPublicity(query) {
  return request({
    url: '/api/publicity_index',
    method: 'get',
    params: query
  })
}


/*首页-产业政策*/
export function getIndexPolicy(query) {
  return request({
    url: '/api/policy_index',
    method: 'get',
    params: query
  })
}
/*首页-产业政策*/
export function getPolicy(query) {
  return request({
    url: '/api/policy_list',
    method: 'get',
    params: query
  })
}

/*产业政策页*/
export function getPolicySub(query) {
  return request({
    url: '/api/policy_sub',
    method: 'get',
    params: query
  })
}




/*首页-新闻*/
export function getNews(query) {
  return request({
    url: '/api/news_index',
    method: 'get',
    params: query
  })
}



/*新闻-列表*/
export function getNewsList(query) {
  return request({
    url: '/api/news_list',
    method: 'get',
    params: query
  })
}



/*机构-列表页*/
export function getInstituteList(query) {
  return request({
    url: '/api/department_sub',
    method: 'get',
    params: query
  })
}



/*项目介绍栏目页*/
export function getProjectPage(query) {
  return request({
    url: '/api/project_sub',
    method: 'get',
    params: query
  })
}


/*项目介绍列表页*/
export function getProjectList(query) {
  return request({
    url: '/api/project_list',
    method: 'get',
    params: query
  })
}


/* 公示列表页*/
export function getPublicityList(query) {
  return request({
    url: '/api/publicity_list',
    method: 'get',
    params: query
  })
}


/*文件页*/
export function getFile(query) {
  return request({
    url: '/api/file_sub',
    method: 'get',
    params: query
  })
}


/*文件-列表页*/
export function getFileList(query) {
  return request({
    url: '/api/file_list',
    method: 'get',
    params: query
  })
}


/*关于我们*/
export function getAbout(query) {
  return request({
    url: '/api/about',
    method: 'get',
    params: query
  })
}

//项目介绍文字
export function getInstituteIntroduction(query) {
  return request({
    url: '/api/project_description',
    method: 'get',
    params: query
  })
}